/**
 * Copyright &copy; 2018-2018 <a href="#">聚成科技</a> All rights reserved.
 */
package com.jckj.core.vos;

import com.jckj.core.validator.groups.Add;
import com.jckj.core.validator.groups.Delete;
import com.jckj.core.validator.groups.Edit;
import com.jckj.core.validator.groups.View;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * <p>
 *     园区Vo
 * </p>
 *
 * @author 刘志远
 * @date 18-2-5
 */
public class FarmParkVo {

    @NotNull(message = "请选择要操作的园区", groups = {Edit.class, Delete.class, View.class})
    private String id;

    @NotNull(message = "请输入园区编号", groups = {Add.class, Edit.class})
    @Length(min = 1, max=20, message = "园区编号长度为1-20个字符")
    private String parkNo;

    @NotNull(message = "请输入园区名称", groups = {Add.class, Edit.class})
    @Length(min = 1, max=50, message = "园区名称长度为1-50个字符")
    private String parkName;

    @NotNull(message = "请输入园区地址", groups = {Add.class, Edit.class})
    @Length(min = 1, max=20, message = "园区地址长度为1-50个字符")
    private String parkAddress;

    private String logoUrl;

    @NotNull(message = "请输入园区联系人", groups = {Add.class, Edit.class})
    @Length(min = 1, max=20, message = "园区联系人长度为1-20个字符")
    private String contactPerson;

    @Length(min = 0, max=15, message = "园区联系人最大长度为20个字符")
    private String phone;

    @NotNull(message = "请输入正确的手机号码", groups = {Add.class, Edit.class})
    @Length(min = 11, max=15, message = "请输入正确的手机号码")
    private String mobilePhone;

    @NotNull(message = "请输入正确的email地址", groups = {Add.class, Edit.class})
    @Length(min = 1, max=15, message = "请输入正确的email地址")
    private String email;

    private String lat;

    private String lng;

    private String createBy;

    private Date createTime;

    private String updateBy;

    private Date updateTime;

    @Length(min = 1, max=15, message = "备注最大长度为255个字符")
    private String remark;

    private String adminId;

    private Byte level;

    private String status;

    private String describ;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParkNo() {
        return parkNo;
    }

    public void setParkNo(String parkNo) {
        this.parkNo = parkNo;
    }

    public String getParkName() {
        return parkName;
    }

    public void setParkName(String parkName) {
        this.parkName = parkName;
    }

    public String getParkAddress() {
        return parkAddress;
    }

    public void setParkAddress(String parkAddress) {
        this.parkAddress = parkAddress;
    }

    public String getLogoUrl() {
        return logoUrl;
    }

    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl;
    }

    public String getContactPerson() {
        return contactPerson;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getAdminId() {
        return adminId;
    }

    public void setAdminId(String adminId) {
        this.adminId = adminId;
    }

    public Byte getLevel() {
        return level;
    }

    public void setLevel(Byte level) {
        this.level = level;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDescrib() {
        return describ;
    }

    public void setDescrib(String describ) {
        this.describ = describ;
    }
}
